home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 19 / Mac Magazin and MacEasy Magazine CD - Issue 19.iso / Spiele & Edutainment / 3doors / cards.xml < prev    next >
Text File  |  1996-03-03  |  23KB  |  804 lines

  1. card_6300.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>6300</id>
  6.     <filler1>0</filler1>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <owner>4009</owner>
  11.     <link rel="stylesheet" type="text/css" href="stylesheet_3102.css" />
  12.     <part>
  13.         <id>1</id>
  14.         <type>button</type>
  15.         <visible> <true /> </visible>
  16.         <reserved5> 0 </reserved5>
  17.         <reserved4> 0 </reserved4>
  18.         <reserved3> 0 </reserved3>
  19.         <reserved2> 0 </reserved2>
  20.         <reserved1> 0 </reserved1>
  21.         <enabled> <true /> </enabled>
  22.         <rect>
  23.             <left>383</left>
  24.             <top>314</top>
  25.             <right>489</right>
  26.             <bottom>337</bottom>
  27.         </rect>
  28.         <style>roundrect</style>
  29.         <showName> <true /> </showName>
  30.         <highlight> <false /> </highlight>
  31.         <autoHighlight> <false /> </autoHighlight>
  32.         <sharedHighlight> <true /> </sharedHighlight>
  33.         <family>0</family>
  34.         <titleWidth>0</titleWidth>
  35.         <icon>0</icon>
  36.         <textAlign>center</textAlign>
  37.         <font>Chicago</font>
  38.         <textSize>12</textSize>
  39.         <textStyle>plain</textStyle>
  40.         <name>Start</name>
  41.         <script>on mouseUpgo to any card of bkgnd "play game"end mouseUp</script>
  42.     </part>
  43.     <content>
  44.         <layer>background</layer>
  45.         <id>1</id>
  46.         <text>Solution:The door you first select has a 1/3 probability of holding the car.  If you stay with this door you still have a 1/3 probability of winning the car, regardless of what the game show host does.There is a 2/3 probability that one of the other two doors holds the car.  The game show host eliminates a non-winner from that pair of doors.  So if you switch, you have a 2/3 probability of winning the car.Your best strategy is to Switch.Try running this game for a number of plays.  Try both strategies and look at the score card.  This stack will keep track of your wins and losses for both the Stay and the Switch strategy.   Remember, due to the vagaries random events the more times you play this game, the closer the statistics will match the theoretical probability.</text>
  47.     </content>
  48.     <name>answer</name>
  49.     <script>on opencard-- select line 1 of bkgnd fld infoend opencard</script>
  50. </card>
  51.  
  52.  
  53. card_4284.xml
  54. <?xml version="1.0" encoding="utf-8" ?>
  55. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  56. <card>
  57.     <id>4284</id>
  58.     <filler1>0</filler1>
  59.     <cantDelete> <false /> </cantDelete>
  60.     <showPict> <true /> </showPict>
  61.     <dontSearch> <false /> </dontSearch>
  62.     <owner>4009</owner>
  63.     <link rel="stylesheet" type="text/css" href="stylesheet_3102.css" />
  64.     <part>
  65.         <id>2</id>
  66.         <type>button</type>
  67.         <visible> <true /> </visible>
  68.         <reserved5> 0 </reserved5>
  69.         <reserved4> 0 </reserved4>
  70.         <reserved3> 0 </reserved3>
  71.         <reserved2> 0 </reserved2>
  72.         <reserved1> 0 </reserved1>
  73.         <enabled> <true /> </enabled>
  74.         <rect>
  75.             <left>418</left>
  76.             <top>128</top>
  77.             <right>476</right>
  78.             <bottom>152</bottom>
  79.         </rect>
  80.         <style>roundrect</style>
  81.         <showName> <true /> </showName>
  82.         <highlight> <false /> </highlight>
  83.         <autoHighlight> <true /> </autoHighlight>
  84.         <sharedHighlight> <true /> </sharedHighlight>
  85.         <family>0</family>
  86.         <titleWidth>0</titleWidth>
  87.         <icon>0</icon>
  88.         <textAlign>center</textAlign>
  89.         <font>Chicago</font>
  90.         <textSize>12</textSize>
  91.         <textStyle>plain</textStyle>
  92.         <name>answer</name>
  93.         <script>on mouseUpgo to card answerend mouseUp</script>
  94.     </part>
  95.     <part>
  96.         <id>3</id>
  97.         <type>button</type>
  98.         <visible> <true /> </visible>
  99.         <reserved5> 0 </reserved5>
  100.         <reserved4> 0 </reserved4>
  101.         <reserved3> 0 </reserved3>
  102.         <reserved2> 0 </reserved2>
  103.         <reserved1> 0 </reserved1>
  104.         <enabled> <true /> </enabled>
  105.         <rect>
  106.             <left>113</left>
  107.             <top>130</top>
  108.             <right>148</right>
  109.             <bottom>153</bottom>
  110.         </rect>
  111.         <style>roundrect</style>
  112.         <showName> <true /> </showName>
  113.         <highlight> <false /> </highlight>
  114.         <autoHighlight> <true /> </autoHighlight>
  115.         <sharedHighlight> <true /> </sharedHighlight>
  116.         <family>0</family>
  117.         <titleWidth>0</titleWidth>
  118.         <icon>0</icon>
  119.         <textAlign>center</textAlign>
  120.         <font>Chicago</font>
  121.         <textSize>12</textSize>
  122.         <textStyle>plain</textStyle>
  123.         <name>play</name>
  124.         <script>on mouseUpgo to any card of bkgnd "play game"end mouseUp</script>
  125.     </part>
  126.     <content>
  127.         <layer>background</layer>
  128.         <id>1</id>
  129.         <text><span class="style1">his stack is a simulation of the "Three Door" problem.Acting as a game show host, I will show you three doors, one of which contains the prize, a car.  The other two doors contain flat tires.  You get to pick a door.  After you pick the door, I will show you one of the other two doors (always one that has a flat tire) and give you the opportunity to switch from your original door.  Should you switch?You may want to </span><span class="style2">play</span><span class="style1"> the game for a while before peeking at the </span><span class="style2">answer</span><span class="style1">.</span><span class="style3">This stack was written by Jan Garner and is free for home or school use.</span><span class="style1"></span></text>
  130.     </content>
  131.     <name>about</name>
  132.     <script></script>
  133. </card>
  134.  
  135.  
  136. card_4706.xml
  137. <?xml version="1.0" encoding="utf-8" ?>
  138. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  139. <card>
  140.     <id>4706</id>
  141.     <filler1>0</filler1>
  142.     <cantDelete> <false /> </cantDelete>
  143.     <showPict> <true /> </showPict>
  144.     <dontSearch> <false /> </dontSearch>
  145.     <owner>2808</owner>
  146.     <link rel="stylesheet" type="text/css" href="stylesheet_3102.css" />
  147.     <content>
  148.         <layer>background</layer>
  149.         <id>3</id>
  150.         <text>0</text>
  151.     </content>
  152.     <content>
  153.         <layer>background</layer>
  154.         <id>5</id>
  155.         <text>0</text>
  156.     </content>
  157.     <content>
  158.         <layer>background</layer>
  159.         <id>4</id>
  160.         <text>0</text>
  161.     </content>
  162.     <content>
  163.         <layer>background</layer>
  164.         <id>7</id>
  165.         <text>0</text>
  166.     </content>
  167.     <content>
  168.         <layer>background</layer>
  169.         <id>6</id>
  170.         <text>0</text>
  171.     </content>
  172.     <content>
  173.         <layer>background</layer>
  174.         <id>12</id>
  175.         <text>0</text>
  176.     </content>
  177.     <content>
  178.         <layer>background</layer>
  179.         <id>1</id>
  180.         <text>0</text>
  181.     </content>
  182.     <content>
  183.         <layer>background</layer>
  184.         <id>2</id>
  185.         <text>0</text>
  186.     </content>
  187.     <content>
  188.         <layer>background</layer>
  189.         <id>10</id>
  190.         <text>0</text>
  191.     </content>
  192.     <content>
  193.         <layer>background</layer>
  194.         <id>11</id>
  195.         <text>0</text>
  196.     </content>
  197.     <name>score card</name>
  198.     <script>on openCardscoreUpdateend openCardon scoreUpdateglobal switchWins, switchLosses, stayWins, stayLossesglobal switchTotal, stayTotalput switchWins into bkgnd fld "switchWins"put switchLosses into bkgnd fld "switchLosses"put switchWins+switchLosses into switchTotalput (2*switchTotal div 3) into bkgnd fld "E-win-switch"put (switchTotal div 3) into bkgnd fld "E-lose-switch"put switchTotal into bkgnd fld "switchTotal"put stayWins into bkgnd fld "stayWins"put stayLosses into bkgnd fld "stayLosses"put stayWins+stayLosses into stayTotalput stayTotal into bkgnd fld "stayTotal"put (stayTotal div 3) into bkgnd fld "E-win-stay"put (2*stayTotal div 3) into bkgnd fld "E-lose-stay"end scoreUpdate</script>
  199. </card>
  200.  
  201.  
  202. card_5639.xml
  203. <?xml version="1.0" encoding="utf-8" ?>
  204. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  205. <card>
  206.     <id>5639</id>
  207.     <filler1>0</filler1>
  208.     <bitmap>BMAP_5070.pbm</bitmap>
  209.     <cantDelete> <false /> </cantDelete>
  210.     <showPict> <true /> </showPict>
  211.     <dontSearch> <false /> </dontSearch>
  212.     <owner>5500</owner>
  213.     <link rel="stylesheet" type="text/css" href="stylesheet_3102.css" />
  214.     <part>
  215.         <id>1</id>
  216.         <type>button</type>
  217.         <visible> <true /> </visible>
  218.         <reserved5> 0 </reserved5>
  219.         <reserved4> 0 </reserved4>
  220.         <reserved3> 0 </reserved3>
  221.         <reserved2> 0 </reserved2>
  222.         <reserved1> 0 </reserved1>
  223.         <enabled> <true /> </enabled>
  224.         <rect>
  225.             <left>84</left>
  226.             <top>109</top>
  227.             <right>181</right>
  228.             <bottom>206</bottom>
  229.         </rect>
  230.         <style>roundrect</style>
  231.         <showName> <true /> </showName>
  232.         <highlight> <false /> </highlight>
  233.         <autoHighlight> <true /> </autoHighlight>
  234.         <sharedHighlight> <true /> </sharedHighlight>
  235.         <family>0</family>
  236.         <titleWidth>0</titleWidth>
  237.         <icon>0</icon>
  238.         <textAlign>center</textAlign>
  239.         <font>Chicago</font>
  240.         <textSize>12</textSize>
  241.         <textStyle>plain</textStyle>
  242.         <name>1</name>
  243.         <script>on mouseUpdoorselect the short name of meend mouseUp</script>
  244.     </part>
  245.     <part>
  246.         <id>2</id>
  247.         <type>button</type>
  248.         <visible> <true /> </visible>
  249.         <reserved5> 0 </reserved5>
  250.         <reserved4> 0 </reserved4>
  251.         <reserved3> 0 </reserved3>
  252.         <reserved2> 0 </reserved2>
  253.         <reserved1> 0 </reserved1>
  254.         <enabled> <true /> </enabled>
  255.         <rect>
  256.             <left>210</left>
  257.             <top>109</top>
  258.             <right>307</right>
  259.             <bottom>206</bottom>
  260.         </rect>
  261.         <style>roundrect</style>
  262.         <showName> <true /> </showName>
  263.         <highlight> <false /> </highlight>
  264.         <autoHighlight> <true /> </autoHighlight>
  265.         <sharedHighlight> <true /> </sharedHighlight>
  266.         <family>0</family>
  267.         <titleWidth>0</titleWidth>
  268.         <icon>0</icon>
  269.         <textAlign>center</textAlign>
  270.         <font>Chicago</font>
  271.         <textSize>12</textSize>
  272.         <textStyle>plain</textStyle>
  273.         <name>2</name>
  274.         <script>on mouseUpdoorselect the short name of meend mouseUp</script>
  275.     </part>
  276.     <part>
  277.         <id>3</id>
  278.         <type>button</type>
  279.         <visible> <true /> </visible>
  280.         <reserved5> 0 </reserved5>
  281.         <reserved4> 0 </reserved4>
  282.         <reserved3> 0 </reserved3>
  283.         <reserved2> 0 </reserved2>
  284.         <reserved1> 0 </reserved1>
  285.         <enabled> <true /> </enabled>
  286.         <rect>
  287.             <left>337</left>
  288.             <top>109</top>
  289.             <right>434</right>
  290.             <bottom>206</bottom>
  291.         </rect>
  292.         <style>roundrect</style>
  293.         <showName> <true /> </showName>
  294.         <highlight> <false /> </highlight>
  295.         <autoHighlight> <true /> </autoHighlight>
  296.         <sharedHighlight> <true /> </sharedHighlight>
  297.         <family>0</family>
  298.         <titleWidth>0</titleWidth>
  299.         <icon>0</icon>
  300.         <textAlign>center</textAlign>
  301.         <font>Chicago</font>
  302.         <textSize>12</textSize>
  303.         <textStyle>plain</textStyle>
  304.         <name>3</name>
  305.         <script>on mouseUpdoorselect the short name of meend mouseUp</script>
  306.     </part>
  307.     <part>
  308.         <id>4</id>
  309.         <type>field</type>
  310.         <visible> <true /> </visible>
  311.         <dontWrap> <false /> </dontWrap>
  312.         <dontSearch> <false /> </dontSearch>
  313.         <sharedText> <false /> </sharedText>
  314.         <fixedLineHeight> <false /> </fixedLineHeight>
  315.         <autoTab> <false /> </autoTab>
  316.         <lockText> <true /> </lockText>
  317.         <rect>
  318.             <left>474</left>
  319.             <top>316</top>
  320.             <right>512</right>
  321.             <bottom>342</bottom>
  322.         </rect>
  323.         <style>opaque</style>
  324.         <autoSelect> <false /> </autoSelect>
  325.         <showLines> <false /> </showLines>
  326.         <wideMargins> <false /> </wideMargins>
  327.         <multipleLines> <false /> </multipleLines>
  328.         <reservedFamily> 0 </reservedFamily>
  329.         <titleWidth>0</titleWidth>
  330.         <icon>0</icon>
  331.         <textAlign>left</textAlign>
  332.         <font>Geneva</font>
  333.         <textSize>12</textSize>
  334.         <textStyle>plain</textStyle>
  335.         <textHeight>16</textHeight>
  336.         <name></name>
  337.         <script></script>
  338.     </part>
  339.     <name>GoatGoatCar</name>
  340.     <script>on openCardglobal carLocput 3 into carLocend openCard</script>
  341. </card>
  342.  
  343.  
  344. card_6048.xml
  345. <?xml version="1.0" encoding="utf-8" ?>
  346. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  347. <card>
  348.     <id>6048</id>
  349.     <filler1>0</filler1>
  350.     <bitmap>BMAP_5337.pbm</bitmap>
  351.     <cantDelete> <false /> </cantDelete>
  352.     <showPict> <true /> </showPict>
  353.     <dontSearch> <false /> </dontSearch>
  354.     <owner>5500</owner>
  355.     <link rel="stylesheet" type="text/css" href="stylesheet_3102.css" />
  356.     <part>
  357.         <id>1</id>
  358.         <type>button</type>
  359.         <visible> <true /> </visible>
  360.         <reserved5> 0 </reserved5>
  361.         <reserved4> 0 </reserved4>
  362.         <reserved3> 0 </reserved3>
  363.         <reserved2> 0 </reserved2>
  364.         <reserved1> 0 </reserved1>
  365.         <enabled> <true /> </enabled>
  366.         <rect>
  367.             <left>84</left>
  368.             <top>109</top>
  369.             <right>181</right>
  370.             <bottom>206</bottom>
  371.         </rect>
  372.         <style>roundrect</style>
  373.         <showName> <true /> </showName>
  374.         <highlight> <false /> </highlight>
  375.         <autoHighlight> <true /> </autoHighlight>
  376.         <sharedHighlight> <true /> </sharedHighlight>
  377.         <family>0</family>
  378.         <titleWidth>0</titleWidth>
  379.         <icon>0</icon>
  380.         <textAlign>center</textAlign>
  381.         <font>Chicago</font>
  382.         <textSize>12</textSize>
  383.         <textStyle>plain</textStyle>
  384.         <name>1</name>
  385.         <script>on mouseUpdoorselect the short name of meend mouseUp</script>
  386.     </part>
  387.     <part>
  388.         <id>2</id>
  389.         <type>button</type>
  390.         <visible> <true /> </visible>
  391.         <reserved5> 0 </reserved5>
  392.         <reserved4> 0 </reserved4>
  393.         <reserved3> 0 </reserved3>
  394.         <reserved2> 0 </reserved2>
  395.         <reserved1> 0 </reserved1>
  396.         <enabled> <true /> </enabled>
  397.         <rect>
  398.             <left>210</left>
  399.             <top>109</top>
  400.             <right>307</right>
  401.             <bottom>206</bottom>
  402.         </rect>
  403.         <style>roundrect</style>
  404.         <showName> <true /> </showName>
  405.         <highlight> <false /> </highlight>
  406.         <autoHighlight> <true /> </autoHighlight>
  407.         <sharedHighlight> <true /> </sharedHighlight>
  408.         <family>0</family>
  409.         <titleWidth>0</titleWidth>
  410.         <icon>0</icon>
  411.         <textAlign>center</textAlign>
  412.         <font>Chicago</font>
  413.         <textSize>12</textSize>
  414.         <textStyle>plain</textStyle>
  415.         <name>2</name>
  416.         <script>on mouseUpdoorselect the short name of meend mouseUp</script>
  417.     </part>
  418.     <part>
  419.         <id>3</id>
  420.         <type>button</type>
  421.         <visible> <true /> </visible>
  422.         <reserved5> 0 </reserved5>
  423.         <reserved4> 0 </reserved4>
  424.         <reserved3> 0 </reserved3>
  425.         <reserved2> 0 </reserved2>
  426.         <reserved1> 0 </reserved1>
  427.         <enabled> <true /> </enabled>
  428.         <rect>
  429.             <left>337</left>
  430.             <top>109</top>
  431.             <right>434</right>
  432.             <bottom>206</bottom>
  433.         </rect>
  434.         <style>roundrect</style>
  435.         <showName> <true /> </showName>
  436.         <highlight> <false /> </highlight>
  437.         <autoHighlight> <true /> </autoHighlight>
  438.         <sharedHighlight> <true /> </sharedHighlight>
  439.         <family>0</family>
  440.         <titleWidth>0</titleWidth>
  441.         <icon>0</icon>
  442.         <textAlign>center</textAlign>
  443.         <font>Chicago</font>
  444.         <textSize>12</textSize>
  445.         <textStyle>plain</textStyle>
  446.         <name>3</name>
  447.         <script>on mouseUpdoorselect the short name of meend mouseUp</script>
  448.     </part>
  449.     <part>
  450.         <id>6</id>
  451.         <type>field</type>
  452.         <visible> <true /> </visible>
  453.         <dontWrap> <false /> </dontWrap>
  454.         <dontSearch> <false /> </dontSearch>
  455.         <sharedText> <false /> </sharedText>
  456.         <fixedLineHeight> <false /> </fixedLineHeight>
  457.         <autoTab> <false /> </autoTab>
  458.         <lockText> <true /> </lockText>
  459.         <rect>
  460.             <left>474</left>
  461.             <top>316</top>
  462.             <right>512</right>
  463.             <bottom>342</bottom>
  464.         </rect>
  465.         <style>opaque</style>
  466.         <autoSelect> <false /> </autoSelect>
  467.         <showLines> <false /> </showLines>
  468.         <wideMargins> <false /> </wideMargins>
  469.         <multipleLines> <false /> </multipleLines>
  470.         <reservedFamily> 0 </reservedFamily>
  471.         <titleWidth>0</titleWidth>
  472.         <icon>0</icon>
  473.         <textAlign>left</textAlign>
  474.         <font>Geneva</font>
  475.         <textSize>12</textSize>
  476.         <textStyle>plain</textStyle>
  477.         <textHeight>16</textHeight>
  478.         <name></name>
  479.         <script></script>
  480.     </part>
  481.     <content>
  482.         <layer>background</layer>
  483.         <id>7</id>
  484.         <text>50</text>
  485.     </content>
  486.     <name>GoatCarGoat</name>
  487.     <script>on openCardglobal carLocput 2 into carLocend openCard</script>
  488. </card>
  489.  
  490.  
  491. card_6859.xml
  492. <?xml version="1.0" encoding="utf-8" ?>
  493. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  494. <card>
  495.     <id>6859</id>
  496.     <filler1>0</filler1>
  497.     <bitmap>BMAP_7109.pbm</bitmap>
  498.     <cantDelete> <false /> </cantDelete>
  499.     <showPict> <true /> </showPict>
  500.     <dontSearch> <false /> </dontSearch>
  501.     <owner>5500</owner>
  502.     <link rel="stylesheet" type="text/css" href="stylesheet_3102.css" />
  503.     <part>
  504.         <id>1</id>
  505.         <type>button</type>
  506.         <visible> <true /> </visible>
  507.         <reserved5> 0 </reserved5>
  508.         <reserved4> 0 </reserved4>
  509.         <reserved3> 0 </reserved3>
  510.         <reserved2> 0 </reserved2>
  511.         <reserved1> 0 </reserved1>
  512.         <enabled> <true /> </enabled>
  513.         <rect>
  514.             <left>84</left>
  515.             <top>109</top>
  516.             <right>181</right>
  517.             <bottom>206</bottom>
  518.         </rect>
  519.         <style>roundrect</style>
  520.         <showName> <true /> </showName>
  521.         <highlight> <false /> </highlight>
  522.         <autoHighlight> <true /> </autoHighlight>
  523.         <sharedHighlight> <true /> </sharedHighlight>
  524.         <family>0</family>
  525.         <titleWidth>0</titleWidth>
  526.         <icon>0</icon>
  527.         <textAlign>center</textAlign>
  528.         <font>Chicago</font>
  529.         <textSize>12</textSize>
  530.         <textStyle>plain</textStyle>
  531.         <name>1</name>
  532.         <script>on mouseUpdoorselect the short name of meend mouseUp</script>
  533.     </part>
  534.     <part>
  535.         <id>2</id>
  536.         <type>button</type>
  537.         <visible> <true /> </visible>
  538.         <reserved5> 0 </reserved5>
  539.         <reserved4> 0 </reserved4>
  540.         <reserved3> 0 </reserved3>
  541.         <reserved2> 0 </reserved2>
  542.         <reserved1> 0 </reserved1>
  543.         <enabled> <true /> </enabled>
  544.         <rect>
  545.             <left>210</left>
  546.             <top>109</top>
  547.             <right>307</right>
  548.             <bottom>206</bottom>
  549.         </rect>
  550.         <style>roundrect</style>
  551.         <showName> <true /> </showName>
  552.         <highlight> <false /> </highlight>
  553.         <autoHighlight> <true /> </autoHighlight>
  554.         <sharedHighlight> <true /> </sharedHighlight>
  555.         <family>0</family>
  556.         <titleWidth>0</titleWidth>
  557.         <icon>0</icon>
  558.         <textAlign>center</textAlign>
  559.         <font>Chicago</font>
  560.         <textSize>12</textSize>
  561.         <textStyle>plain</textStyle>
  562.         <name>2</name>
  563.         <script>on mouseUpdoorselect the short name of meend mouseUp</script>
  564.     </part>
  565.     <part>
  566.         <id>3</id>
  567.         <type>button</type>
  568.         <visible> <true /> </visible>
  569.         <reserved5> 0 </reserved5>
  570.         <reserved4> 0 </reserved4>
  571.         <reserved3> 0 </reserved3>
  572.         <reserved2> 0 </reserved2>
  573.         <reserved1> 0 </reserved1>
  574.         <enabled> <true /> </enabled>
  575.         <rect>
  576.             <left>337</left>
  577.             <top>109</top>
  578.             <right>434</right>
  579.             <bottom>206</bottom>
  580.         </rect>
  581.         <style>roundrect</style>
  582.         <showName> <true /> </showName>
  583.         <highlight> <false /> </highlight>
  584.         <autoHighlight> <true /> </autoHighlight>
  585.         <sharedHighlight> <true /> </sharedHighlight>
  586.         <family>0</family>
  587.         <titleWidth>0</titleWidth>
  588.         <icon>0</icon>
  589.         <textAlign>center</textAlign>
  590.         <font>Chicago</font>
  591.         <textSize>12</textSize>
  592.         <textStyle>plain</textStyle>
  593.         <name>3</name>
  594.         <script>on mouseUpdoorselect the short name of meend mouseUp</script>
  595.     </part>
  596.     <part>
  597.         <id>8</id>
  598.         <type>field</type>
  599.         <visible> <true /> </visible>
  600.         <dontWrap> <false /> </dontWrap>
  601.         <dontSearch> <false /> </dontSearch>
  602.         <sharedText> <false /> </sharedText>
  603.         <fixedLineHeight> <false /> </fixedLineHeight>
  604.         <autoTab> <false /> </autoTab>
  605.         <lockText> <true /> </lockText>
  606.         <rect>
  607.             <left>474</left>
  608.             <top>316</top>
  609.             <right>512</right>
  610.             <bottom>342</bottom>
  611.         </rect>
  612.         <style>opaque</style>
  613.         <autoSelect> <false /> </autoSelect>
  614.         <showLines> <false /> </showLines>
  615.         <wideMargins> <false /> </wideMargins>
  616.         <multipleLines> <false /> </multipleLines>
  617.         <reservedFamily> 0 </reservedFamily>
  618.         <titleWidth>0</titleWidth>
  619.         <icon>0</icon>
  620.         <textAlign>left</textAlign>
  621.         <font>Geneva</font>
  622.         <textSize>12</textSize>
  623.         <textStyle>plain</textStyle>
  624.         <textHeight>16</textHeight>
  625.         <name></name>
  626.         <script></script>
  627.     </part>
  628.     <name>CarGoatGoat</name>
  629.     <script>on openCardglobal carLocput 1 into carLocend openCard</script>
  630. </card>
  631.  
  632.  
  633. card_2875.xml
  634. <?xml version="1.0" encoding="utf-8" ?>
  635. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  636. <card>
  637.     <id>2875</id>
  638.     <filler1>0</filler1>
  639.     <cantDelete> <false /> </cantDelete>
  640.     <showPict> <true /> </showPict>
  641.     <dontSearch> <false /> </dontSearch>
  642.     <owner>2808</owner>
  643.     <link rel="stylesheet" type="text/css" href="stylesheet_3102.css" />
  644.     <part>
  645.         <id>3</id>
  646.         <type>field</type>
  647.         <visible> <true /> </visible>
  648.         <dontWrap> <false /> </dontWrap>
  649.         <dontSearch> <false /> </dontSearch>
  650.         <sharedText> <false /> </sharedText>
  651.         <fixedLineHeight> <false /> </fixedLineHeight>
  652.         <autoTab> <false /> </autoTab>
  653.         <lockText> <true /> </lockText>
  654.         <rect>
  655.             <left>0</left>
  656.             <top>0</top>
  657.             <right>508</right>
  658.             <bottom>314</bottom>
  659.         </rect>
  660.         <style>opaque</style>
  661.         <autoSelect> <false /> </autoSelect>
  662.         <showLines> <false /> </showLines>
  663.         <wideMargins> <true /> </wideMargins>
  664.         <multipleLines> <false /> </multipleLines>
  665.         <reservedFamily> 0 </reservedFamily>
  666.         <titleWidth>0</titleWidth>
  667.         <icon>0</icon>
  668.         <textAlign>center</textAlign>
  669.         <font>Geneva</font>
  670.         <textSize>22</textSize>
  671.         <textStyle>plain</textStyle>
  672.         <textHeight>29</textHeight>
  673.         <name></name>
  674.         <script></script>
  675.     </part>
  676.     <part>
  677.         <id>5</id>
  678.         <type>button</type>
  679.         <visible> <true /> </visible>
  680.         <reserved5> 0 </reserved5>
  681.         <reserved4> 0 </reserved4>
  682.         <reserved3> 0 </reserved3>
  683.         <reserved2> 0 </reserved2>
  684.         <reserved1> 0 </reserved1>
  685.         <enabled> <true /> </enabled>
  686.         <rect>
  687.             <left>383</left>
  688.             <top>314</top>
  689.             <right>489</right>
  690.             <bottom>337</bottom>
  691.         </rect>
  692.         <style>roundrect</style>
  693.         <showName> <true /> </showName>
  694.         <highlight> <false /> </highlight>
  695.         <autoHighlight> <false /> </autoHighlight>
  696.         <sharedHighlight> <true /> </sharedHighlight>
  697.         <family>0</family>
  698.         <titleWidth>0</titleWidth>
  699.         <icon>0</icon>
  700.         <textAlign>center</textAlign>
  701.         <font>Chicago</font>
  702.         <textSize>12</textSize>
  703.         <textStyle>plain</textStyle>
  704.         <name>Start</name>
  705.         <script>on mouseUpgo to any card of bkgnd "play game"end mouseUp</script>
  706.     </part>
  707.     <part>
  708.         <id>6</id>
  709.         <type>field</type>
  710.         <visible> <true /> </visible>
  711.         <dontWrap> <false /> </dontWrap>
  712.         <dontSearch> <false /> </dontSearch>
  713.         <sharedText> <false /> </sharedText>
  714.         <fixedLineHeight> <false /> </fixedLineHeight>
  715.         <autoTab> <false /> </autoTab>
  716.         <lockText> <true /> </lockText>
  717.         <rect>
  718.             <left>149</left>
  719.             <top>323</top>
  720.             <right>349</right>
  721.             <bottom>342</bottom>
  722.         </rect>
  723.         <style>opaque</style>
  724.         <autoSelect> <false /> </autoSelect>
  725.         <showLines> <false /> </showLines>
  726.         <wideMargins> <false /> </wideMargins>
  727.         <multipleLines> <false /> </multipleLines>
  728.         <reservedFamily> 0 </reservedFamily>
  729.         <titleWidth>0</titleWidth>
  730.         <icon>0</icon>
  731.         <textAlign>center</textAlign>
  732.         <font>Geneva</font>
  733.         <textSize>11</textSize>
  734.         <textStyle>plain</textStyle>
  735.         <textHeight>14</textHeight>
  736.         <name></name>
  737.         <script></script>
  738.     </part>
  739.     <content>
  740.         <layer>background</layer>
  741.         <id>3</id>
  742.         <text>0</text>
  743.     </content>
  744.     <content>
  745.         <layer>background</layer>
  746.         <id>5</id>
  747.         <text>0</text>
  748.     </content>
  749.     <content>
  750.         <layer>background</layer>
  751.         <id>4</id>
  752.         <text>0</text>
  753.     </content>
  754.     <content>
  755.         <layer>background</layer>
  756.         <id>7</id>
  757.         <text>0</text>
  758.     </content>
  759.     <content>
  760.         <layer>background</layer>
  761.         <id>6</id>
  762.         <text>0</text>
  763.     </content>
  764.     <content>
  765.         <layer>background</layer>
  766.         <id>12</id>
  767.         <text>0</text>
  768.     </content>
  769.     <content>
  770.         <layer>background</layer>
  771.         <id>1</id>
  772.         <text>0</text>
  773.     </content>
  774.     <content>
  775.         <layer>background</layer>
  776.         <id>2</id>
  777.         <text>0</text>
  778.     </content>
  779.     <content>
  780.         <layer>background</layer>
  781.         <id>10</id>
  782.         <text>0</text>
  783.     </content>
  784.     <content>
  785.         <layer>background</layer>
  786.         <id>11</id>
  787.         <text>0</text>
  788.     </content>
  789.     <content>
  790.         <layer>card</layer>
  791.         <id>3</id>
  792.         <text>Welcome to theThree DoorProblem</text>
  793.     </content>
  794.     <content>
  795.         <layer>card</layer>
  796.         <id>6</id>
  797.         <text>Ver 1.0  1/22/96</text>
  798.     </content>
  799.     <name>title card</name>
  800.     <script>on openCardscoreUpdateend openCardon scoreUpdateglobal switchWins, switchLosses, stayWins, stayLossesglobal switchTotal, stayTotalput switchWins into bkgnd fld "switchWins"put switchLosses into bkgnd fld "switchLosses"put switchWins+switchLosses into switchTotalput (2*switchTotal div 3) into bkgnd fld "E-win-switch"put (switchTotal div 3) into bkgnd fld "E-lose-switch"put switchTotal into bkgnd fld "switchTotal"put stayWins into bkgnd fld "stayWins"put stayLosses into bkgnd fld "stayLosses"put stayWins+stayLosses into stayTotalput stayTotal into bkgnd fld "stayTotal"put (stayTotal div 3) into bkgnd fld "E-win-stay"put (2*stayTotal div 3) into bkgnd fld "E-lose-stay"end scoreUpdate</script>
  801. </card>
  802.  
  803.  
  804.